ostree-remount.service: RemainAfterExit=yes
authorColin Walters <walters@verbum.org>
Tue, 31 Jul 2018 21:04:26 +0000 (17:04 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 31 Jul 2018 21:15:57 +0000 (21:15 +0000)
commitdcd1522969a36eb4bed7a001154342355d0539ef
tree6c223c0d63465f71b23843c56d4a2012e37934a5
parent61c37aa40cb19b0bb631bf5498ee517b020e1759
ostree-remount.service: RemainAfterExit=yes

This is standard practice for units like this; e.g. it's what
`systemd-remount-fs.service` does.  I think it may be part of
or the whole cause for
https://github.com/projectatomic/rpm-ostree/issues/1471

I haven't reproduced the problem exactly but it seems to me that
if the unit starts and is GC'd, then when systemd goes to execute
a later unit it might end up restarting it.

A noticeable side effect of this is that `systemctl status ostree-remount`
exits with code `0` as expected.

Closes: #1697
Approved by: jlebon
src/boot/ostree-remount.service